#include <testngpp/internal/TestCase.h>
#include <testngpp/internal/TestFixtureDesc.h>
#include <testngpp/internal/TestSuiteDesc.h>
#include <testngpp/internal/DataDriven.h>
#include "TestPrecision.h"

static struct TESTCASE_TestPrecision_test_17
   : public TESTNGPP_NS::TestCase
{
   TESTCASE_TestPrecision_test_17()
      : TESTNGPP_NS::TestCase
        ( "Precision floor should be right"
        , "Precision"
        , "TestPrecision"
        , 0
        , "TestPrecision.h"
        , 17)
   {}

   void setFixture(TESTNGPP_NS::TestFixture* fixture)
   {
      if(fixture == 0)
      {
         belongedFixture = new TestPrecision();
      }
      else
      {
         belongedFixture = dynamic_cast<TestPrecision*>(fixture);
      }
   }

   void runTest()
   {
      
belongedFixture->test_17()
;
   }

   TESTNGPP_NS::TestFixture* getFixture() const
   {
      return belongedFixture;
   }

   unsigned int numberOfTags() const
   {
      return 0;
   }

   const char** getTags() const
   {
      static const char* tags[] = {0};
      return tags;
   }

private:
   TestPrecision* belongedFixture;
} testcase_instance_TestPrecision_test_17 ;



static struct TESTCASE_TestPrecision_test_41
   : public TESTNGPP_NS::TestCase
{
   TESTCASE_TestPrecision_test_41()
      : TESTNGPP_NS::TestCase
        ( "Precision round should be right"
        , "Precision"
        , "TestPrecision"
        , 0
        , "TestPrecision.h"
        , 41)
   {}

   void setFixture(TESTNGPP_NS::TestFixture* fixture)
   {
      if(fixture == 0)
      {
         belongedFixture = new TestPrecision();
      }
      else
      {
         belongedFixture = dynamic_cast<TestPrecision*>(fixture);
      }
   }

   void runTest()
   {
      
belongedFixture->test_41()
;
   }

   TESTNGPP_NS::TestFixture* getFixture() const
   {
      return belongedFixture;
   }

   unsigned int numberOfTags() const
   {
      return 0;
   }

   const char** getTags() const
   {
      static const char* tags[] = {0};
      return tags;
   }

private:
   TestPrecision* belongedFixture;
} testcase_instance_TestPrecision_test_41 ;



static TESTNGPP_NS::TestCase* g_TESTCASEARRAY_TestPrecision[] = {
&testcase_instance_TestPrecision_test_17,
&testcase_instance_TestPrecision_test_41,
0
};




/*static*/ TESTNGPP_NS::TestFixtureDesc test_fixture_desc_instance_TestPrecision
   ( "Precision"
   , "TestPrecision.h"
   , g_TESTCASEARRAY_TestPrecision
   , (sizeof(g_TESTCASEARRAY_TestPrecision)/sizeof(g_TESTCASEARRAY_TestPrecision[0])) - 1
   );



static TESTNGPP_NS::TestFixtureDesc* array_of_fixture_desc_TestPrecision[] = {
&test_fixture_desc_instance_TestPrecision,
0
};




static TESTNGPP_NS::TestSuiteDesc test_suite_desc_instance_TestPrecision
   ( "TestPrecision"
   , array_of_fixture_desc_TestPrecision
   , (sizeof(array_of_fixture_desc_TestPrecision)/sizeof(array_of_fixture_desc_TestPrecision[0])) - 1
   );



extern "C" DLL_EXPORT TESTNGPP_NS::TestSuiteDesc* ___testngpp_test_suite_desc_getter() {
   return &test_suite_desc_instance_TestPrecision;
}


